package com.example.library_demo.enums;

import lombok.Getter;

public enum BizExceptionEnum implements IResultEnum{
    BALANCE_NOT_ENOUGH(51001, "余额不足，请补缴：%money% 元"),


    ;

    final Integer code;
    /**
     * 返回信息
     */
    final String message;
    BizExceptionEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public Integer getCode() {
        return null;
    }

    @Override
    public String getMessage() {
        return null;
    }
}
